#include "muestra.h"

Muestra::Muestra()
{
    double temp[] = {512,511,511,510,
            510,510,510,510,
            510,510,510,510,
            510,510,511,511,
            511,510,510,510,
            510,510,510,510,
            510,511,510,510,
            510,510,511,510,
            510,510,510,510,
            510,509,510,510,
            510,510,510,510,
            510,511,510,510,
            510,511,510,510,
            510,510,511,511,
            510,510,510,511,
            511,511,511,510,
            511,511,511,511,
            510,510,510,511,
            511,511,510,510,
            511,510,511,510,
            510,510,510,510,
            510,510,510,510,
            510,510,510,510,
            510,511,510,510,
            510,510,511,510,
            510,510,510,510,
            510,510,511,510,
            510,511,511,511,
            510,510,510,511,
            510,510,510,511,
            511,511,510,510,
            511,511,511,510,
            510,511,511,511,
            510,511,510,510,
            511,510,511,510,
            510,511,511,511,
            511,510,511,511,
            511,510,510,511,
            510,511,510,511,
            512,512,512,510,
            510,512,511,511,
            510,510,511,513,
            516,519,527,531,
            531,533,531,530,
            528,526,525,525,
            523,523,524,523,
            527,529,529,529,
            529,530,529,527,
            526,525,526,525,
            525,526,526,526,
            525,526,528,526,
            527,530,528,526,
            529,526,526,526,
            526,526,523,526,
            525,524,526,525,
            524,525,525,526,
            526,526,530,531,
            522,522,530,524,
            528,530,522,528,
            529,524,529,532,
            526,530,533,533,
            537,536,535,536,
            532,533,537,535,
            531,533,531,531,
            539,537,534,534,
            535,535,536,538,
            532,533,538,538,
            536,536,538,531,
            533,540,534,538,
            540,533,541,539,
            533,536,531,533,
            537,528,529,539,
            540,541,545,536,
            531,532,536,535,
            533,528,524,528,
            532,529,526,527,
            514,515,531,526,
            529,537,519,519,
            532,521,521,527,
            523,521,522,525,
            525,522,522,521,
            516,512,507,504,
            513,516,505,502,
            512,509,509,507,
            514,516,497,506,
            516,508,517,507,
            513,519,495,504,
            506,502,512,501,
            492,503,517,499,
            491,508,506,496,
            501,505,500,503,
            496,500,518,505,
            502,507,505,512,
            509,509,513,510,
            509,510,512,507,
            509,508,512,520,
            506,502,517,517,
            515,516,511,517,
            515,507,517,509,
            507,517,513,510,
            515,514,507,502,
            519,508,505,509,
            496,508,505,492,
            505,509,506,506,
            498,494,501,501,
            503,508,504,492,
            488,497,508,507,
            496,492,493,502,
            504,501,499,499,
            493,492,501,499,
            493,501,503,496,
            505,507,498,497,
            502,506,499,505,
            510,503,501,494,
            499,504,501,504,
            501,498,498,498,
            505,503,501,514,
            506,497,516,510,
            502,503,497,503,
            505,494,498,497,
            499,509,497,497,
            510,502,507,514,
            503,502,509,498,
            500,505,503,507,
            508,501,498,507,
            507,493,503,513,
            506,505,504,507,
            514,513,507,506,
            509,505,500,512,
            509,503,512,507,
            505,506,502,506,
            509,506,506,506,
            502,503,506,505,
            500,508,511,506,
            506,503,506,508,
            507,508,500,500,
            504,502,508,512,
            507,504,507,505,
            507,514,509,507,
            505,502,508,506,
            506,510,508,507,
            513,512,508,520,
            522,508,507,516,
            513,512,514,509,
            507,509,513,514,
            510,512,510,511,
            515,509,508,509,
            506,505,506,501,
            502,505,500,501,
            503,501,503,503,
            500,503,506,501,
            496,496,500,504,
            502,506,507,502,
            503,501,502,504,
            505,505,502,498,
            496,497,500,500,
            501,499,496,495,
            497,499,500,497,
            490,495,502,497,
            494,501,497,498,
            500,496,495,498,
            494,496,500,499,
            499,498,496,499,
            499,498,501,501,
            501,502,501,500,
            503,503,501,500,
            500,500,501,502,
            501,501,500,501,
            502,500,500,502,
            501,500,500,498,
            497,500,501,501,
            500,498,499,502,
            501,502,505,504,
            502,505,505,503,
            504,504,503,505,
            508,504,506,510,
            507,509,510,508,
            510,513,510,509,
            510,507,508,507,
            506,507,505,504,
            505,505,505,506,
            504,505,505,503,
            505,504,502,505,
            505,504,503,505,
            503,502,504,500,
            500,500,499,501,
            501,501,503,503,
            502,503,503,502,
            502,502,501,503,
            503,503,504,504,
            505,504,504,504,
            505,504,503,504,
            503,504,504,504,
            504,504,504,503,
            503,502,501,500,
            501,501,501,502,
            501,501,502,503,
            506,508,508,509,
            508,509,509,510,
            510,510,510,510,
            510,510,510,511,
            510,510,511,510,
            510,511,510,511,
            510,510,510,511,
            510,510,510,511,
            511,511,511,510,
            511,510,510,510,
            510,510,511,510,
            510,510,510,511,
            510,510,510,510,
            510,510,511,511,
            510,510,511,510,
            511,510,510,511,
            510,510,510,510,
            510,510,510,510,
            510,510,510,510,
            511,510,511,511,
            511,511,512,511,
            511,511,510,510,
            511,511,511,510,
            510,511,510,511,
            510,510,511,510,
            511,510,510,510,
            510,511,510,510,
            510,510,511,510,
            510,511,511,511,
            510,510,511,510,
            510,510,511,510,
            510,510,511,511,
            511,511,511,511,
            511,511,510,510,
            511,511,511,510,
            510,511,511,510,
            511,511,511,511,
            510,511,511,510,
            510,510,510,510,
            510,510,510,510,
            510,510,510,510,
            511,511,510,510,
            510,510,510,510,
            510,510,510,511,
            510,510,511,510,
            510,510,510,510,
            510,510,511,511,
            510,510,510,511,
            510,510,510,510,
            510,510,510,510,
            510,510,510,510,
            511,510,512,511,
            511,510,510,511,
            510,511,510,511,
            510,510,510,510,
            511,510,510,510,
            510,511,510,510,
            511,510,511,510,
            510,510,510,511, 0};

    int i = 0;
    while(temp[i] != 0)
    {
        this->y[i] = temp[i];//((temp[i]*(3.29/1024))/0.8);
        i++;
    }

}

double* Muestra::leerDatos()
{
    return this->y;
}

